package cn.edu.nwpu.manager.controller;

import cn.edu.nwpu.manager.bean.Dormitory;
import cn.edu.nwpu.manager.service.DormitoryManagerService;
import cn.edu.nwpu.manager.utils.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author Hutengzhong
 * @version 1.0.0
 * @title DormitoryManagerController
 * @description TODO 宿舍管理
 * @date 2023/9/13
 */
@RestController
@RequestMapping("DormitoryManager")
public class DormitoryManagerController {

    /**
     * 获取宿舍列表
     *
     * Request{url='DormitoryManager/getDormitoryList', methods='GET',}
     *
     * @return Response(200, " 成功 ", true)
     */



    /**
     * 创建宿舍
     *
     * Request{url='DormitoryManager/getDormitoryList', methods='GET',}
     * @param map:parameters={address=C8, dormitoryName=1103}
     * @return Response(200, "成功", true)
     */



    /**
     * 删除宿舍
     * Request{url='DormitoryManager/deleteDormitory', methods='GET',}
     * @param id:parameters={id=2}
     * @return Response(200, "成功", true)
     */




    /**
     * 修改宿舍信息
     * Request{url='DormitoryManager/changeDormitory', methods='POST',}
     * @param map:parameters={id=1, address=C8, dormitoryName=1103}
     * @return Response(200, "成功", true)
     */


}
